<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    //查找对象的属性是基于原型链的;整体原型链都没有对应属性的声明;则返回undefined
    console.log(window.a)
</script>
</html>